package com.jdrx.sw.sewage.beans.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "DeviceAlarmQueryPageVO", description = "设备分页查询VO")
@Data
public class DeviceAlarmQueryPageVO implements Serializable {
    private static final long serialVersionUID = -1206960462117924923L;

    @ApiModelProperty(value = "告警开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "告警结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "告警信息")
    private String alarmInfo;

    @ApiModelProperty(value = "责任人名字")
    private String dutyUserNames;

    @ApiModelProperty(value = "告警状态(0-未处理 1-处理中 2-已完成)")
    private Integer alarmStatus;

    @ApiModelProperty(value = "告警级别(1-黄色告警 2-红色告警)")
    private Integer alarmLevel;

    @ApiModelProperty(value = "告警类型")
    private String alarmType;
}
